home *** CD-ROM | disk | FTP | other *** search
/ EnigmA Amiga Run 1995 November / EnigmA AMIGA RUN 02 (1995)(G.R. Edizioni)(IT)[!][issue 1995-11][Skylink CD].iso / earcd / util / misc / halt.lzh / halt / halt_library.h < prev    next >
C/C++ Source or Header  |  1995-10-06  |  1KB  |  47 lines

  1. /*
  2.    shutdown_library.h --- shutdown library internals.
  3.  
  4.    (c) Copyright 1995 SHW Wabnitz
  5.    Written by Bernhard Fastenrath (fasten@shw.com)
  6.  
  7.    This file may be distributed under the terms
  8.    of the GNU General Public License.
  9. */
  10.  
  11. #include <exec/types.h>
  12. #include <exec/lists.h>
  13. #include <exec/nodes.h>
  14. #include <exec/memory.h>
  15. #include <dos/dos.h>
  16. #include <dos/dosextens.h>
  17. #include <dos/filehandler.h>
  18.  
  19. #include <proto/exec.h>
  20. #include <proto/dos.h>
  21.  
  22. #include <stdlib.h>
  23. #include <string.h>
  24.  
  25. #include "halt.h"
  26.  
  27. typedef struct List List;
  28. typedef struct Node Node;
  29. typedef struct MinNode MinNode;
  30. typedef struct MsgPort MsgPort;
  31. typedef struct Message Message;
  32. typedef struct StandardPacket StandardPacket;
  33. typedef struct DevProc DevProc;
  34. typedef struct DosInfo DosInfo;
  35. typedef struct DeviceNode DeviceNode;
  36. typedef struct RootNode RootNode;
  37. typedef struct Task Task;
  38.  
  39. typedef struct {
  40.   MinNode  node;
  41.   MsgPort *port;
  42.   UBYTE    done;
  43. } ShutdownClient;
  44.  
  45. /*** prototypes of unmount.c ***/
  46. int unmount (MsgPort *mp, char *filesystem);
  47.